% nwafu(西北农林科技大学)Blackboard主题。
% 版权(c) 2015-2021, 信息工程学院 耿楠<nangeng@nwafu.edu.cn>
%
% 该主题修改于kmaed的Blackboard主题：https://github.com/kmaed/kmbeamer
%
% 这是一个免费代码：发布和修改该代码，请遵守最新版的自由软件联盟发布
% 的GNU通用公共协议
%
% 期望这一代码对你有用，但值得注意的是，我不对任何后续问题进行维护，
% 请参考<http://www.gnu.org/licenses/>查看最新的协议内容。
%%

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthemenwafubb}[2021/04/02 v2.1.00 The nwafu Blackboard Beamer Theme]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 主题特殊选项
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%参考前四个模式(beamer,handout,second and trans).也就是说，除article外的所有模式

\setbeamertemplate{itemize item}{\usebeamercolor[fg]{structure}$\circ$}
\setbeamertemplate{frametitle}{\boldmath\insertframetitle}
\setbeamertemplate{headline}{\vspace{2mm}}

% 标题页
\setbeamertemplate{title page}{%
  \begin{minipage}[c][\textheight][c]{\textwidth}%
    \vfill%
    \centering%
    \begin{beamercolorbox}[wd=\textwidth,center, rounded=true, sep=\baselineskip]{frametitle}%
      {\usebeamerfont{title}\inserttitle}\vspace*{0.5\baselineskip}%

      {\usebeamerfont{subtitle}\insertsubtitle}%
    \end{beamercolorbox}\vspace*{\baselineskip}%
      
    {\usebeamerfont{author}\insertauthor}\vspace*{0.5\baselineskip}%
    \vfill%
    {\usebeamerfont{institute}\insertinstitute\par}%
    {\inserttitlegraphic \\ \usebeamerfont{institute}中国$\boldsymbol{\cdot}$杨凌}\\[-1.0ex]%
    {\usebeamerfont{institute}\usebeamerfont{date}\insertdate}\vspace*{-0.5\baselineskip}%
  \end{minipage}%
}%
    
% 封底页
\defbeamertemplate{final page}{text}[1]{%
  \begin{minipage}[c][\textheight][c]{\textwidth}%
    \centering%
    \vfill%
    \begin{beamercolorbox}[wd=\textwidth, center, rounded=true, sep=2\baselineskip]{frametitle}%
        #1%
    \end{beamercolorbox}%
    \vfill%
    {\usebeamerfont{institute}\insertinstitute\par}%
    {\inserttitlegraphic \\ \usebeamerfont{institute}中国$\boldsymbol{\cdot}$杨凌}\vspace*{0.1\baselineskip}%
  \end{minipage}%
}
\newcommand{\finalpage}[1]{%
  \setbeamertemplate{final page}[text]{#1}%
  \usebeamertemplate{final page}%
}%

\mode<all>

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "main.tex"
%%% End: 
